.dialog-box * {
  margin: 0;
  padding: 0;
}
.dialog-box  .box {
  border: 1px solid red;
  width: 50%;
  height: 100vh;
  overflow: hidden;
  overflow-y: scroll;
}
.dialog-box  .flex {
  display: flex;
}
.dialog-box  .list  {
  padding: 20px 0;
  justify-content:space-around;
  
}
.dialog-box  .list   > div { 
  margin: 0 10px;
}

.dialog-box .config {
  position: relative;
}
.dialog-box .dialog {
  position: fixed;
  background: green;
  padding: 10px 15px;
  color: #fff;
}